package org.alvin.bolai;

public class TestByte {

    public static void main(String[] args) {
        int b = 50;
        System.out.println(String.format("%4s", Integer.toString(b,16)).replaceAll("\\s","0"));

    }
}
